]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
altTab: Use correct actor in label height computation
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 5 Nov 2019 01:36:38 +0000 (02:36 +0100)
committerCarlos Garnacho <mrgarnacho@gmail.com>
Tue, 5 Nov 2019 12:52:29 +0000 (12:52 +0000)
Commit f2bd39b20 removed an intermediate bin, and now we use the
thumbnail bin instead of the label actor to compute the label
height, whoops.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/804

js/ui/altTab.js

index 1c4a239984b3c4da24d7dd38af3749d9babc782e..c2d3760a2bfe5064cd53913c71d7a84dfd9173cc 100644 (file)
@@ -899,7 +899,7 @@ class ThumbnailList extends SwitcherPopup.SwitcherList {
                     // St.Label doesn't support text-align
                     x_align: Clutter.ActorAlign.CENTER,
                 });
-                this._labels.push(bin);
+                this._labels.push(name);
                 box.add_actor(name);
 
                 this.addItem(box, name);